#ifndef DELAYWDIGET_H
#define DELAYWDIGET_H
#include <QWidget>
#include <QLabel>
#include <QHBoxLayout>

class DelayWdiget : public QWidget
{
    Q_OBJECT
public:
    DelayWdiget();
    QLabel *close;
    QLabel *delay1;
    QLabel *delay2;
    QLabel *delay3;
    QWidget *mainWin;
    QHBoxLayout *mainWinLayout;
protected:
    virtual bool eventFilter(QObject *watched, QEvent *event);
    virtual void mousePressEvent(QMouseEvent *event);
    void paintEvent(QPaintEvent *event);

signals:
    void delay_emit(int);

private:
    QHBoxLayout *delayLayout;
    int width;
    int height;
};

#endif // DELAYWDIGET_H
